package com.huahai;

import org.apache.shardingsphere.spring.boot.ShardingSphereAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author huahai
 */
@SpringBootApplication(exclude = {ShardingSphereAutoConfiguration.class}) // 禁用 sharding-jdbc
@MapperScan("com.huahai.mapper")
@EnableScheduling
@EnableAsync
public class HuahaiPictureBackendApplication {

    public static void main(String[] args) {
        SpringApplication.run(HuahaiPictureBackendApplication.class, args);
    }

}
